import request from "@/utils/request";

//请求前缀
const api_prefix = "/login";

export function doLogin(data) {
  return request({
    //模板字符串拼接参数
    url: `${api_prefix}/admin`,
    method: "POST",
    data: data
  });
}
